package com.njust.dataobject;

import java.math.BigDecimal;
import java.util.Date;

public class MotorInfo {
    private Long id;

    private Long trainOnlyid;

    private String carriageNum;

    private Integer motorNum;

    private BigDecimal motorTemp;

    private BigDecimal motorTempinc;

    private Date trainDate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTrainOnlyid() {
        return trainOnlyid;
    }

    public void setTrainOnlyid(Long trainOnlyid) {
        this.trainOnlyid = trainOnlyid;
    }

    public String getCarriageNum() {
        return carriageNum;
    }

    public void setCarriageNum(String carriageNum) {
        this.carriageNum = carriageNum == null ? null : carriageNum.trim();
    }

    public Integer getMotorNum() {
        return motorNum;
    }

    public void setMotorNum(Integer motorNum) {
        this.motorNum = motorNum;
    }

    public BigDecimal getMotorTemp() {
        return motorTemp;
    }

    public void setMotorTemp(BigDecimal motorTemp) {
        this.motorTemp = motorTemp;
    }

    public BigDecimal getMotorTempinc() {
        return motorTempinc;
    }

    public void setMotorTempinc(BigDecimal motorTempinc) {
        this.motorTempinc = motorTempinc;
    }

    public Date getTrainDate() {
        return trainDate;
    }

    public void setTrainDate(Date trainDate) {
        this.trainDate = trainDate;
    }
}